-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(uplink): Ensure string input for b64enc in secret.yaml #686
Conversation
changed this (.Values.postgresql.url) into a string
Added Unit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for this proposal!
It is a good direction but it still requires some work:
-
Please set up a proper name for this PR. THe sentence
What does this PR do?
does not indicates the purpose of this pull request. You might want to use https://www.conventionalcommits.org/en/v1.0.0/ as a tool to help you phrase the title -
You are not solving the problem described in Fix
uplink
chart issue:invalid value; expected string
#664 . If you follow the issue instruction (running the commandhelm template
for theuplink
chart) you will see that your change does not fix the error message:helm-charts git:(Sathwik-git/main)$ helm template charts/uplink Error: template: uplink/templates/secret.yaml:8:47: executing "uplink/templates/secret.yaml" at <b64enc>: invalid value; expected string
I've added a suggestion about your unit test explaining how to simulate this behavior in the tests to give you a direction.
Co-authored-by: Damien Duportal <[email protected]>
Co-authored-by: Damien Duportal <[email protected]>
I hope it works now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes made as per the request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, thanks for the contribution!
LGTM
For info, it looks like this change failed to be deployed in the jenkins-infra public cluster with the following error:
The setup is visible here:
|
Hello @Sathwik-git , if you have time to help us on this problem that would be wonderful! |
This PR fixes the uplink chart issue and added unit tests
Fixes #664